Example #1
0
 public override void ProcessEnteringCharacter(
     CharacterComponent character)
 {
     Debug.Log("Character: " + character.GetInstanceID().ToString() + " is entering on poison swamp (" + this.GetInstanceID().ToString());
     // ここで character component の ground field を更新する
     character.Ground = this;
 }
Example #2
0
        public TargetHitHud ProvideHud(PlayerHUD_Proxy playerHud, CharacterComponent cc)
        {
            Int32  instanceId = cc.GetInstanceID();
            String hudName    = MakeHudName(instanceId);

            GameObject hudObject = GameObject.Find(hudName);

            if (hudObject != null)
            {
                return(new TargetHitHud(hudObject));
            }

            return(CreateHud(playerHud, hudName));
        }
Example #3
0
 public override void ProcessEnteringCharacter(
     CharacterComponent character)
 {
     Debug.Log("Character: " + character.GetInstanceID().ToString() + " is entering on normal wall (" + this.GetInstanceID().ToString());
 }