This commit is contained in:
RosimInc 2016-01-31 06:26:12 -05:00
commit 4001d0cc15
3 changed files with 1595 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: eaf32609a10afd24f9a1b314f4287511
timeCreated: 1454223393
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -24,6 +24,8 @@ public class Character : MonoBehaviour
private Vector3 dashForward; private Vector3 dashForward;
private ParticleSystem particleSys;
public int PlayerID public int PlayerID
{ {
get { return playerId; } get { return playerId; }
@ -33,6 +35,7 @@ public class Character : MonoBehaviour
void Awake() void Awake()
{ {
rb = GetComponent<Rigidbody>(); rb = GetComponent<Rigidbody>();
particleSys = GetComponent<ParticleSystem>();
} }
void Start() void Start()
@ -92,6 +95,8 @@ public class Character : MonoBehaviour
dashRemainingTime = DashCooldown; dashRemainingTime = DashCooldown;
//particleSys.Play();
StartCoroutine(DashCoroutine()); StartCoroutine(DashCoroutine());
return true; return true;