コード例 #1
0
ファイル: PoisonSwamp.cs プロジェクト: amejii/Arch
 public override void ProcessEnteringItem(
     ItemComponent item)
 {
     Debug.Log("Item : " + item.GetInstanceID().ToString() + " is entering on poison swamp (" + this.GetInstanceID().ToString() + ").");
     // ここで AffectToItem を呼んでもいい
 }
コード例 #2
0
 public override void ProcessEnteringItem(
     ItemComponent item)
 {
     Debug.Log("Item : " + item.GetInstanceID().ToString() + " is entering on normal wall (" + this.GetInstanceID().ToString() + ").");
 }