PlayerAction.OnEnable C# (CSharp) Метод

OnEnable() публичный Метод

Raises the enable event.
public OnEnable ( ) : void
Результат void
	public virtual void OnEnable()
	{
		// early out if this is happening on the first frame
		if (Mathf.Approximately(Time.timeSinceLevelLoad, 0f)) {
			return;
		}
		// filter the selection to remove any inpermitted tiles
		//InputManager.use.FilterSelection();
		// update mask and selection highlighter	
		UpdateMask();
		UpdateSelectionHighlighter();
	}