コード例 #1
0
 public void Act()
 {
     Instantiate();
     MapMover.Move(_map);
     CleanDead();
     CheckAndActConditions();
     MapRedrawer.Redraw(_map);
 }
コード例 #2
0
 void GetObj()
 {
     try {
         Hero          = GameObject.FindGameObjectWithTag("Player");
         HeroAnim      = Hero.GetComponent <Animator>();
         MM            = Map.GetComponent <MapMover>();
         LeftArmPunch  = GameObject.Find("PunchAnimL").GetComponent <Animator>();
         RightArmPunch = GameObject.Find("PunchAnimR").GetComponent <Animator>();
     }
     catch {
     }
 }
コード例 #3
0
 // Start is called before the first frame update
 void Start()
 {
     PlateName = gameObject.name;
     MM        = GameObject.FindGameObjectWithTag("MainMap").GetComponent <MapMover>();
 }