This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protected virtual void OnSceneGUI() | |
| { | |
| HandlesTest testObject = (HandlesTest)target; | |
| // begin monitoring for GUI changes | |
| EditorGUI.BeginChangeCheck(); | |
| // do whatever GUI stuff that lets user change something on the testObject | |
| var newPos = Handles.PositionHandle(testObject.transform.position, Quaternion.identity); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using CodeSmile.UnityEditor; | |
| using System; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.UIElements; | |
| namespace CodeSmile.Tile.UnityEditor | |
| { | |
| [CustomEditor(typeof(TileWorld))] | |
| public class TileWorldDrawer : Editor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| using UnityEditor.SceneManagement; | |
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| namespace CodeSmile.EditorTests | |
| { | |
| [InitializeOnLoad] | |
| public class TestCustomBuildProcess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This work is Public Domain (CC0) - "No Rights Reserved" | |
| // License: https://creativecommons.org/publicdomain/zero/1.0/ | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEditor.TestTools.TestRunner.Api; | |
| using UnityEngine; | |
| namespace CodeSmile.Tests.Utilities | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (C) 2021-2023 Steffen Itterheim | |
| // Refer to included LICENSE file for terms and conditions. | |
| using NUnit.Framework; | |
| using System; | |
| using System.Collections.Generic; | |
| using Unity.Collections; | |
| using Unity.Collections.LowLevel.Unsafe; | |
| using Unity.Serialization.Binary; | |
| using UnityEngine; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using CodeSmile.Components.Registry; | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| namespace CodeSmile.Components.Pool | |
| { | |
| [DisallowMultipleComponent] |
OlderNewer