コード例 #1
0
 // Use this for initialization
 void Awake()
 {
     networkIdentity = GetComponent <NetworkIdentity>();
     rb             = GetComponent <Rigidbody2D>();
     playerInput    = GetComponent <PlayerInput_Flippo>();
     playerStats    = GetComponent <PlayerStats_Flippo>();
     collisionState = GetComponent <CollisionState>();
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     col         = GetComponent <Collider2D>();
     playerStats = GetComponent <PlayerStats_Flippo>();
 }