1
This commit is contained in:
@@ -2,6 +2,8 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BigSpace.Logic;
|
||||
using BigSpace.XRCore.Event;
|
||||
using RenderHeads.Media.AVProVideo;
|
||||
using Unity.XR.PXR;
|
||||
using UnityEngine;
|
||||
|
||||
public class SelfCharacterControllCtr : MonoBehaviour
|
||||
@@ -9,18 +11,13 @@ public class SelfCharacterControllCtr : MonoBehaviour
|
||||
public GameObject bodyBox;
|
||||
CharacterController characterCtr;
|
||||
// Start is called before the first frame update
|
||||
|
||||
void Start()
|
||||
{
|
||||
GlobalEventMgr.Listen<bool>(GameEvent.EventSetReadyCatchAnimal, GameDataManage_EventSetReadyCatchAnimal);
|
||||
characterCtr = GetComponent<CharacterController>();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
void GameDataManage_EventSetReadyCatchAnimal(bool isShow)
|
||||
{
|
||||
if (isShow)
|
||||
@@ -36,3 +33,6 @@ public class SelfCharacterControllCtr : MonoBehaviour
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user