// Use this for initialization void Start () { myBody = GetComponent<Rigidbody>(); myCenterOfMass = myBody.centerOfMass; myFuelHandler = gameObject.GetComponent<PlayerFuelBehaviour>(); myParticleHandler = gameObject.GetComponent<ParticleTriggerBehaviour>(); }
// Use this for initialization void Start() { myMover = gameObject.GetComponent <PlayerMovementBehaviour>(); myParticleHandler = gameObject.GetComponent <ParticleTriggerBehaviour>(); }