This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.UI; | |
using UniRx; | |
public class GridItemSizeSetter : MonoBehaviour | |
{ | |
[SerializeField] | |
private int rowCount = 3; | |
[SerializeField] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public static class TransformExtensions | |
{ | |
public static void SetPos(this Transform transform, float x, float y, float z) | |
{ | |
transform.position = new Vector3(x, y, z); | |
} | |
public static void AddPos(this Transform transform, float x, float y, float z) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class GameController : MonoBehaviour { | |
[SerializeField] | |
Text scenarioMessage; | |
List<Scenario> scenarios = new List<Scenario>(); |