예제 #1
0
 void Awake()
 {
     playerHealth = GetComponent<PlayerHealth>();
     playerLevel = GetComponent<PlayerLevel>();
     playerPerks = GetComponent<PlayerPerks>();
     playerShooting = GetComponent<PlayerShooting>();
     playerMovement = GetComponent<PlayerMovement>();
 }
예제 #2
0
 void Start()
 {
     perks = GetComponent<PlayerPerks>();
 }