示例#1
0
        // 属性受animation控制,需要在animation之后执行,即使用LateUpdate()
        void Update()
        {
            if (!rockable)
            {
                return;
            }

            RockCamera.GetInstance()?.Rock(rockArgs);
        }
示例#2
0
 private void OnDisable()
 {
     RockCamera.GetInstance()?.Recover();
 }
示例#3
0
 private void Awake()
 {
     s_instance = this;
 }