void Start()
    {
        player_move = player.GetComponent<Player_MoveHandler>();
        equip_wpn = player.GetComponent<Equip_Item>();

        SpawnWeapon();
    }
    void Awake()
    {
        anim = GetComponentInChildren<Animator> ();

        rBody = GetComponent<Rigidbody2D> ();

        mStats.Init ();

        if (Application.loadedLevel == 0)
        {
            isOnShip = true;
        }
        else
        {
            isOnShip = false;
        }

        if (!resourceGrid && !isOnShip)
            resourceGrid = ResourceGrid.Grid;

        equip_wpn = GetComponent<Equip_Item>();
    }
Exemple #3
0
 public IEnumerable <NextNodeOption> ProcessNode(Equip_Item node)
 {
     throw new NotImplementedException();
 }