Example #1
0
    // Use this for initialization
    void Start()
    {
        GameEvents.GameEventManager.registerListener(this);
        playerShipComponent = playerShip.GetComponent<PlayerShip2D>();

        Invoke("updateHud", 0.1f);
    }
Example #2
0
    // Use this for initialization
    void Start()
    {
        GameEvents.GameEventManager.registerListener(this);
        playerShipComponent = playerShip.GetComponent <PlayerShip2D>();

        Invoke("updateHud", 0.1f);
    }
Example #3
0
 void Awake()
 {
     character = GetComponent <PlayerShip2D>();
 }