-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprogress.cs
More file actions
32 lines (27 loc) · 814 Bytes
/
progress.cs
File metadata and controls
32 lines (27 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using UnityEngine;
public class operations : MonoBehaviour
{
private static bool allowCalculations = true;
private static bool udImage = false; // false = upright, true = upside down
public static bool AllowCalculations
{
get { return allowCalculations; }
set { allowCalculations = value;}
}
public static bool UdImage
{
get { return udImage; }
set { udImage = value; } // false = upright, true = upside down
}
public static bool checkIfCorrect(bool userInput)
{
if (userInput == udImage)
{
return true;
}
else
{
return false;
}
}
}