Esempio n. 1
0
        /// *******************************************************
        /// <summary>初期処理</summary>
        /// *******************************************************
        void Awake()
        {
            _Instance   = this;
            IsDestroyed = false;

            HitMaterial = HitRenderer.sharedMaterial;
            _BaseColor  = Shader.PropertyToID("_BaseColor");
        }
Esempio n. 2
0
 /// *******************************************************
 /// <summary>破棄処理</summary>
 /// *******************************************************
 private void OnDestroy()
 {
     _Instance = null;
 }