Skip to content

Instantly share code, notes, and snippets.

@glebov21
Created February 21, 2018 15:58
Show Gist options
  • Save glebov21/3d97413bf7a2e4b7c38bea68207b3ac9 to your computer and use it in GitHub Desktop.
Save glebov21/3d97413bf7a2e4b7c38bea68207b3ac9 to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class ChangeChecker
{
private bool isUpdated = false;
public bool IsUpdated
{
get
{
bool temp = isUpdated;
isUpdated = false;
return temp;
}
set { isUpdated = value; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment