コード例 #1
0
 // Use this for initialization
 void Start()
 {
     velocidad        = GetComponent <StatsOnix>().velocidad;
     mTransform       = GetComponent <Transform>();
     jugador          = GameObject.FindGameObjectWithTag("Player");
     transformJugador = jugador.transform;
     golpe            = GetComponent <StatsOnix>();
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     pS = GetComponent <StatsOnix>();
 }