// Start is called before the first frame update
        protected virtual void Start()
        {
            if (cameraCtrl == null)
            {
                cameraCtrl = CameraCtrl.Instance;
            }

            ObjectName = gameObject.name;
        }
Example #2
0
 private void Awake()
 {
     Instance = this;
 }