12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
-
- namespace NRKernal
- {
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
-
-
- public class NrealLightControllerVisual : MonoBehaviour, IControllerVisual
- {
-
- public void DestroySelf()
- {
- if(gameObject)
- Destroy(gameObject);
- }
-
-
- public void SetActive(bool isActive)
- {
- if (!gameObject)
- return;
- gameObject.SetActive(isActive);
- }
-
-
- public void UpdateVisual(ControllerState state)
- {
- if (!gameObject || !gameObject.activeSelf)
- return;
- }
- }
-
- }
|