コード例 #1
0
 void Awake()
 {
     entity   = GetComponent <Entity>();
     powerMan = FindObjectOfType <PowerManager>();
     powerMan.AddSink(this);
 }