Definition at line 3 of file MiniGame_Basket.cs.
◆ OnActivate()
override void MiniGame_Basket.OnActivate |
( |
| ) |
|
|
inline |
Definition at line 9 of file MiniGame_Basket.cs.
10 {
12 {
14 {
15 prefab = Resources.Load<Shooter>(
"Basket");
16 }
18 go = Object.Instantiate(
prefab.gameObject);
20 game = go.GetComponentInChildren<Shooter>();
21 }
22 SetAudioMixer(go);
23 Shooter.game = new Game_Basket
24 {
25 Deactivate = base.Deactivate,
26 OnPlay = base.OnPlay,
27 ModChangeCoin = delegate(int a)
28 {
29 balance.changeCoin += a;
30 },
31 ModLastCoin = delegate(int a)
32 {
33 balance.lastCoin += a;
34 },
35 LastCoin = () => balance.lastCoin
36 };
37 EClass.scene.audioListener.enabled = false;
38 }
References Debug, ModMinigame< Shooter >.game, and prefab.
◆ OnDeactivate()
override void MiniGame_Basket.OnDeactivate |
( |
| ) |
|
|
inline |
◆ SlidePosition()
override void MiniGame_Basket.SlidePosition |
( |
float |
w | ) |
|
|
inline |
◆ prefab
Shooter MiniGame_Basket.prefab |
◆ id
override string MiniGame_Basket.id |
|
get |
The documentation for this class was generated from the following file: