// 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;
    }
Example #2
0
 private void Start()
 {
     //enabled = false;
     _self      = GetComponent <Player>();
     _gunLocker = FindObjectOfType(typeof(Module_GunLocker)) as Module_GunLocker;
 }
Example #3
0
    // 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;
    }