public void ClearContext(GameObject obj) { if (_context == obj.GetComponent <EnergyInput>()) { _context = null; } }
public void OnContext(GameObject obj) { _context = obj.GetComponent <EnergyInput>(); }
public void ClearContext(GameObject obj) { if (_context == obj.GetComponent <EnergyInput>()) { _context = null; } }
public void OnContext(GameObject obj) { _context = obj.GetComponent <EnergyInput>(); }