Exemplo n.º 1
0
 void Start()
 {
     shapeTrackerScript       = shapeTracker.GetComponent <ShapeTracker>();
     paintTrackerScript       = paintTracker.GetComponent <PaintTracker>();
     mainCameraMovementScript = mainCamera.GetComponent <CameraMovement>();
     eventManagerScript       = eventManager.GetComponent <EventManager>();
 }
Exemplo n.º 2
0
    void Start()
    {
        gameStatus         = "StartScene";
        shapeTrackerScript = shapeTracker.GetComponent <ShapeTracker>();

        // SFX
        sfxControllerGO = GameObject.Find("SFX Controller");
        if (sfxControllerGO)
        {
            sfxControllerScript = sfxControllerGO.GetComponent <sfxController>();
        }

        if (endScreen == null)
        {
            findEndScreen();
        }
    }
Exemplo n.º 3
0
 interaction void DoIt()
 {
     ShapeTracker.Remember(NewShape);
 }
Exemplo n.º 4
0
 interaction Track Find()
 {
     return(ShapeTracker.FindBeingDrawnTrack());
 }