Ejemplo n.º 1
0
 void Start()
 {
     GM       = GameManager.instance;
     aux      = AuxManager.instance;
     EM       = EffectsManager.instance;
     PM       = PlayerManager.instance;
     rb       = GetComponent <Rigidbody2D>();
     disJoint = GetComponent <DistanceJoint2D>();
     playerFire.SetActive(false);
     canvas       = aux.GetCanvas();
     airPowerList = new List <GameObject>();
     //currentAirPower = airPowers[0];
     CreateNewAirPower(0);
 }