public bool fall = false; // GameCrearから指示 void Start() { this.rb = GetComponent <Rigidbody2D>(); this.animator = GetComponent <Animator>(); crear = FindObjectOfType <GameCrear_Rooftop>(); rule = FindObjectOfType <GameRule>(); state = "STOP"; }
void Start() { SetNextSentence(); if (!gameCrear) { events = FindObjectOfType <GameEvents_Rooftop>(); events.MoveAnimation(a); } if (gameCrear) { crear = FindObjectOfType <GameCrear_Rooftop>(); crear.MoveAnimation(a); } }
public bool fall = false; // GameCrearから指示 void Start() { this.rb = GetComponent <Rigidbody2D>(); this.animator = GetComponent <Animator>(); crear = FindObjectOfType <GameCrear_Rooftop>(); if (human) { state = "STOP"; } if (!human) { state = "STOP"; } }