mirror of
https://github.com/ConjureETS/OuijaMTLGJ2016.git
synced 2026-03-24 02:01:06 +00:00
Merge branch 'master' of https://github.com/ConjureETS/OuijaMTLGJ2016
This commit is contained in:
commit
4001d0cc15
1582
Assets/prefabs/DashParticleSystem.prefab
Normal file
1582
Assets/prefabs/DashParticleSystem.prefab
Normal file
File diff suppressed because it is too large
Load Diff
8
Assets/prefabs/DashParticleSystem.prefab.meta
Normal file
8
Assets/prefabs/DashParticleSystem.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: eaf32609a10afd24f9a1b314f4287511
|
||||||
|
timeCreated: 1454223393
|
||||||
|
licenseType: Free
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user