예제 #1
0
        public override void Configure(Unit reference)
        {
            base.Configure(reference);

            Component = Dependancy.Get <AudioSource>(gameObject);

            SFX = Dependancy.Get <SFXPlayer>(gameObject);
        }
예제 #2
0
        public override void Configure(Projectile reference)
        {
            base.Configure(reference);

            player = GetComponent <SFXPlayer>();
        }