Exemple #1
0
 /// <summary>This checks whether this tool should be displayed or not.</summary>
 /// <returns>True, when this tool is to be drawn. False, otherwise.</returns>
 public override bool IsAvailable() => CinemachineSceneToolUtility.IsToolRequired(GetType());
Exemple #2
0
 void DisplayIfRequired() => style.display =
     CinemachineSceneToolUtility.IsToolRequired(m_FreelookRigSelectionType)
         ? DisplayStyle.Flex : DisplayStyle.None;