float speed = 4f; // 移動スピード void Start() { this.rb = GetComponent <Rigidbody2D>(); player = FindObjectOfType <Player_PlayStart2>(); octavian = FindObjectOfType <Octavian_PlayStart2>(); run = 1f; }
bool two = true; // テキスト送りを1回 void Start() { this.animator = GetComponent <Animator>(); this.rb = GetComponent <Rigidbody2D>(); startMove = FindObjectOfType <StartMove_PlayStart2>(); octavian = FindObjectOfType <Octavian_PlayStart2>(); state = "WALK"; run = 1f; }