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

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