using UnityEngine;using UnityEditor; [CustomEditor (typeof ( MyClass ))] // MyClass는 함수가 작동될 애의 함수 public class CustomInspector: Editor { public override void OnInspectorGUI(){base.OnInspectorGUI (); MyClass exam = target as MyClass; if (GUILayout.Button ("ExamPushButton")) {exam.Func(); }} [ 유니티 인스펙터 버튼 만들기 ] 요거말고 링크가 있었을거에요. 다음에 생각나면 포스팅 해야겠어요.
using System.Security.Cryptography; while ( true ) { SHA1 sha = new SHA1CryptoServiceProvider(); string hashInput = Console.ReadLine(); if ( hashInput == "exit " ) break; Console.WriteLine( "INPUT:" + hashInput ); byte[] shaSetter = Encoding.ASCII.GetBytes(hashInput); byte[] res = sha.ComputeHash( shaSetter ); //Console.WriteLine( "OUT:" + res.ToString() ); Console.WriteLine( "Base64 Encoding : ..