void Start() { otherscript = character.GetComponent <Charackermovmentpc>(); charge = otherscript.charge; chargestart = otherscript.chargestart; Debug.Log(charge); Debug.Log(chargestart); rb = GetComponent <Rigidbody>(); }
// Use this for initialization void Start() { otherscript = character.GetComponent <Charackermovmentpc>(); inair = false; }