예제 #1
0
 // Use this for initialization
 void Start()
 {
     // Récupère une référence au script AnimationCourse attaché au même GameObject
     ac         = GetComponent <AnimationCourse> ();
     Horizontal = "Horizontal" + Player;
     Vertical   = "Vertical" + Player;
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     // Récupère une référence au script AnimationCourse attaché au même GameObject
     ac = GetComponent <AnimationCourse> ();
     rb = GetComponent <Rigidbody2D> ();
 }
예제 #3
0
파일: MoveLion.cs 프로젝트: imadhy/JeuVideo
 // Use this for initialization
 void Start()
 {
     ac = GetComponent <AnimationCourse>();
 }