コード例 #1
0
 internal void RemoveSelf()
 {
     if (IsRemoveSelf == false)
     {
         IsRemoveSelf = true;
         _Instance    = null;
         Destroy(gameObject);
     }
 }
    void OnTriggerEnter(Collider other)
    {
        XkPlayerCtrl playerScript = other.GetComponent <XkPlayerCtrl>();

        if (playerScript == null)
        {
            return;
        }
        XKGameStageCtrl.GetInstance().MoveIntoStageUI();
        gameObject.SetActive(false);
    }
コード例 #3
0
 // Use this for initialization
 void Start()
 {
     _Instance = this;
     StageUI   = StageObj.GetComponent <UITexture>();
     HiddeStageObj();
 }
コード例 #4
0
 // Use this for initialization
 internal void Init()
 {
     _Instance = this;
     StageUI   = StageObj.GetComponent <UITexture>();
     HiddeStageObj();
 }