12345678910111213141516171819202122232425262728293031 |
-
- #if UNITY_EDITOR
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- namespace ParrelSync.Example
- {
- public class CustomArgumentExample : MonoBehaviour
- {
-
- void Start()
- {
-
- if (ClonesManager.IsClone())
- {
- Debug.Log("This is a clone project.");
-
- string customArgument = ClonesManager.GetArgument();
- Debug.Log("The custom argument of this clone project is: " + customArgument);
-
- }
- else
- {
- Debug.Log("This is the original project.");
- }
- }
- }
- }
- #endif
|