// Use this for initialization void Start() { if (ModuleGunLocker == null) { ModuleGunLocker = GameObject.FindObjectOfType(typeof(Module_GunLocker)) as Module_GunLocker; } //GameMain.EvtFishInstance += Handle_FishInstance; StartCoroutine(_Coro_LockFishInterval()); //GameMain.EvtFishClear += Handle_FishClear; }
private void Start() { //enabled = false; _self = GetComponent <Player>(); _gunLocker = FindObjectOfType(typeof(Module_GunLocker)) as Module_GunLocker; }
// Use this for initialization void Start() { if(ModuleGunLocker == null) ModuleGunLocker = GameObject.FindObjectOfType(typeof(Module_GunLocker)) as Module_GunLocker; //GameMain.EvtFishInstance += Handle_FishInstance; StartCoroutine(_Coro_LockFishInterval()); //GameMain.EvtFishClear += Handle_FishClear; }