Skip to content
Snippets Groups Projects
Commit 1cd7368d authored by ojsj18's avatar ojsj18 :speech_balloon:
Browse files

pontos

parent 08fb7bc9
No related branches found
No related tags found
No related merge requests found
Showing
with 15 additions and 21 deletions
...@@ -77,6 +77,9 @@ ...@@ -77,6 +77,9 @@
<Compile Include="Assets\Scripts\MoveBarco\spawncapanga.cs" /> <Compile Include="Assets\Scripts\MoveBarco\spawncapanga.cs" />
<Compile Include="Assets\Scripts\MoveBarco\textHandler2.cs" /> <Compile Include="Assets\Scripts\MoveBarco\textHandler2.cs" />
<Compile Include="Assets\Scripts\MoveBarco\textInitHandler2.cs" /> <Compile Include="Assets\Scripts\MoveBarco\textInitHandler2.cs" />
<Compile Include="Assets\controle.cs" />
<Compile Include="Assets\instanciadorbomba.cs" />
<Compile Include="Assets\pontos.cs" />
<Reference Include="UnityEngine.Advertisements"> <Reference Include="UnityEngine.Advertisements">
<HintPath>/opt/Unity/Editor/Data/UnityExtensions/Unity/Advertisements/UnityEngine.Advertisements.dll</HintPath> <HintPath>/opt/Unity/Editor/Data/UnityExtensions/Unity/Advertisements/UnityEngine.Advertisements.dll</HintPath>
</Reference> </Reference>
......
fileFormatVersion: 2
guid: 919ade57c5fe2427c97528f00b18c9b3
folderAsset: yes
timeCreated: 1536771436
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 80d1379f0c2d147219b599f88aebe0fa
folderAsset: yes
timeCreated: 1536771436
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
//script porco feito pelo Ovidio //script porco feito pelo Ovidio
public class anim : MonoBehaviour { public class anim : MonoBehaviour {
...@@ -8,10 +9,14 @@ public class anim : MonoBehaviour { ...@@ -8,10 +9,14 @@ public class anim : MonoBehaviour {
public float timer = 8.0f; //tempo pra explodir public float timer = 8.0f; //tempo pra explodir
public float TE = 3.0f; //tempo pra sumir public float TE = 3.0f; //tempo pra sumir
void Start () void Start ()
{ {
bombex = GetComponent<Animator> (); bombex = GetComponent<Animator> ();
GetComponent<CapsuleCollider2D> ().enabled = false; GetComponent<CapsuleCollider2D> ().enabled = false;
} }
void Update () void Update ()
{ {
...@@ -19,6 +24,7 @@ public class anim : MonoBehaviour { ...@@ -19,6 +24,7 @@ public class anim : MonoBehaviour {
if (timer <= 0.0f) if (timer <= 0.0f)
{ {
teste (); teste ();
} }
} }
......
No preview for this file type
No preview for this file type
<Properties> <Properties StartupItem="Assembly-CSharp.csproj">
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" /> <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/Animations/MoveBarco/anim.cs"> <MonoDevelop.Ide.Workbench ActiveDocument="Assets/Animations/MoveBarco/anim.cs">
<Files> <Files>
<File FileName="Assets/Animations/MoveBarco/anim.cs" Line="21" Column="9" /> <File FileName="Assets/pontos.cs" Line="4" Column="1" />
<File FileName="Assets/Animations/MoveBarco/anim.cs" Line="32" Column="4" />
</Files> </Files>
</MonoDevelop.Ide.Workbench> </MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints> <MonoDevelop.Ide.DebuggingService.Breakpoints>
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0000.583870b1.0000
0000.583870b1.0000
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment