Example #1
0
 //create static instance of class
 void CreateInstance()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(this);
     }
 }
Example #2
0
 public Rumble(CameraBehaviour camera, float rumbleintensity, float rumbletime)
 {
     _Camera          = camera;
     _RumbleTime      = rumbletime;
     _RumbleIntensity = rumbleintensity;
 }
Example #3
0
 public Idle(CameraBehaviour behaviour)
 {
 }