Beispiel #1
0
 private void Awake()
 {
     g                   = GetComponent <GlobalsMgr>();
     imageCenter         = GameObject.Find("ImageCenter").GetComponent <Image>();
     imageCenter.enabled = false;
     scaPaint            = scaPaintOrig;
     scaLine             = scaPaint * ratioLine2Paint;
 }
Beispiel #2
0
 private void Awake()
 {
     g              = GetComponent <GlobalsMgr>();
     delayCrash     = 8f;
     delayKick      = 1f;
     delaySnair     = 4f;
     timeStartCrash = Time.realtimeSinceStartup;
     timeStartKick  = Time.realtimeSinceStartup;
     timeStartSnair = Time.realtimeSinceStartup;
 }
Beispiel #3
0
 private void Awake()
 {
     g = GetComponent <GlobalsMgr>();
     imageConnected          = GameObject.Find("ImageConnected").GetComponent <Image>();
     timeLastReceivedTimeout = 3;
     secondsSince1970        = GetSecondsSince1970();
     ipLocal            = "?";
     ipFrom             = "?";
     ynForceYnConnected = false;  // false;
 }
Beispiel #4
0
 private void Awake()
 {
     g           = GetComponent <GlobalsMgr>();
     goSolutions = GameObject.Find("Solutions");
     goSpots     = GameObject.Find("Spots");
     colorX      = (Color.blue + Color.clear) / 2;
     colorO      = (Color.red + Color.clear) / 2;
     colorEmpty  = (Color.clear + Color.clear) / 2;
     colorWin    = (Color.green + Color.clear) / 2;
     colorAlmost = colorWin;
     goPadX      = GameObject.Find("PadXbody");
     goPadO      = GameObject.Find("PadObody");
 }
Beispiel #5
0
 private void Awake()
 {
     g = GetComponent <GlobalsMgr>();
 }
Beispiel #6
0
 private void Awake()
 {
     g           = GetComponent <GlobalsMgr>();
     audioSource = GetComponent <AudioSource>();
 }
Beispiel #7
0
 public void Awake()
 {
     g = GetComponent <GlobalsMgr>();
 }
Beispiel #8
0
 private void Awake()
 {
     g            = GetComponent <GlobalsMgr>();
     imageAuto    = GameObject.Find("ImageAuto").GetComponent <Image>();
     imageAdvance = GameObject.Find("ImageAdvance").GetComponent <Image>();
 }
Beispiel #9
0
    //float timeStart;
    //const float delay = 1;

    private void Awake()
    {
        g = GameObject.Find("SeeMeDoIt").GetComponent <GlobalsMgr>();
    }
Beispiel #10
0
 private void Awake()
 {
     g             = GetComponent <GlobalsMgr>();
     imageProgress = GameObject.Find("ImageProgress").GetComponent <Image>();
 }