Exemplo n.º 1
0
    void Start()
    {
        otherscript = character.GetComponent <Charackermovmentpc>();
        charge      = otherscript.charge;

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