SaveSessionToHIP() public static method

Save given session to a HIP file. The user will be prompted with Unity's file dialog to choose HIP file location.
public static SaveSessionToHIP ( bool bLockNodes, HEU_SessionBase session = null ) : bool
bLockNodes bool Whether to lock nodes in HIP file so as not to recook them on load
session HEU_SessionBase Session to save out. If null, uses default session.
return bool
Exemplo n.º 1
0
	public static void SaveSessionToHIP()
	{
	    bool bResult = HEU_SessionManager.SaveSessionToHIP(false);
	    if (!bResult)
	    {
		HEU_EditorUtility.DisplayDialog("Saving Session to HIP", HEU_SessionManager.GetLastSessionError(), "OK");
	    }
	}