Esempio n. 1
0
 void Awake()
 {
     _logic               = GetComponent <AvatarLogic>();
     _aimingController    = GetComponent <AvatarAimingUnityContext>();
     _animationController = GetComponent <AvatarAnimationUnityContext>();
     _movementController  = GetComponent <SmoothMovementUnityContext>();
     _groundDetector      = GetComponentInChildren <GroundDetectionUnityContext>();
     _projectileSpawner   = transform
                            .Find("Physical Model/Weapon Joint/Weapon/Projectile Spawner")
                            .gameObject
                            .GetComponent <ProjectileSpawnerController>();
 }
Esempio n. 2
0
 void Burst(ProjectileSpawnerController spawner)
 {
 }