コード例 #1
0
ファイル: Lightning.cs プロジェクト: fridgeBaron/Path-of-Doom
 // Use this for initialization
 void OnEnable()
 {
     ProjectileBase.AddLightning(this);
     timeAlive     = 0;
     lightningLine = GetComponent <LineRenderer>();
     timeKill      = 1f;
 }