Exemplo n.º 1
0
    void Start()
    {
        attracter   = GetComponent <PlanetAttracter>();
        aligner     = GetComponent <PlanetSurfaceAligner>();
        rb          = GetComponent <Rigidbody>();
        interaction = GetComponentInChildren <InteractionZone>();

        jetpackCharge = jetpackCapacity;
    }
    void Start()
    {
        aligner = GetComponent <PlanetSurfaceAligner>();

        deposit = GetComponent <Deposit>();

        deposit.onHit += OnHit;
        deposit.onDie += OnDie;

        rb = GetComponent <Rigidbody>();

        jumpCooldown.Start();
    }
 void Start()
 {
     aligner = GetComponent <PlanetSurfaceAligner>();
     rb      = GetComponent <Rigidbody>();
 }
 void Start()
 {
     aligner = GetComponent <PlanetSurfaceAligner>();
 }