コード例 #1
0
 private void Start()
 {
     healthKitBar     = HealthKitBar.sharedInstance;
     pooler           = ObjectPooler.SharedInstance;
     startRollSpeed   = ROLL_BASE_SPEED;
     projectileOffset = Vector3.up * offsetProjectilePos;
 }
コード例 #2
0
 void Awake()
 {
     healthKitBar = HealthKitBar.sharedInstance;
 }
コード例 #3
0
 void Awake()
 {
     sharedInstance = this;
 }