Beispiel #1
0
    void ShowSword()
    {
//				Debug.Log ("showSword");
        _SwordForSelection.transform.parent        = _selectLevel.GetMainButton().transform;
        _SwordForSelection.transform.localPosition = Vector3.zero;
        _SwordForSelection.transform.localScale    = Vector3.one;
        _SwordForSelection.Show();
    }
Beispiel #2
0
 public void LevelButtonClick(LevelGateControl level)
 {
     if (level != _selectLevel)
     {
         _SwordForSelection.Show(level.transform.position);
         _selectLevel = level;
     }
     else
     {
         BattleStart(level.GetComponent <LevelInfo> ());
     }
 }