protected override void Awake() { base.Awake(); _linkedPath = GetComponent <LinkedPath>(); _spriteImage = GetComponent <Image>(); }
void Awake() { _tile = GetComponent <NumberTile>(); _linkedPath = GetComponent <LinkedPath>(); _spriteImage = GetComponent <Image>(); }
public string GetEquationString(LinkedPath path, bool forceValid = false) { StringBuilder sb = new StringBuilder(); if (path != null) { GameTile[] pathArr = path.TileStack.ToArray(); for (int i = pathArr.Length - 1; i >= 0; i--) { GameTile tile = pathArr[i]; sb.Append(tile.Value); if (i >= 1) { sb.Append(" "); } } } return(sb.ToString()); }
static FileTime CreateFileTime(this Commit current, LinkedPath path) =>
public void UpdateEquation(LinkedPath path) { equationText.text = GetEquationString(path); }