블로그 이미지
Every unexpected event is a path to learning for you. blueasa

카테고리

분류 전체보기 (2809)
Unity3D (865)
Programming (479)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (234)
협업 (61)
3DS Max (3)
Game (12)
Utility (140)
Etc (98)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (55)
Android (16)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday

[Link] ILSpy(.NET Decompiler)

Utility / 2016. 11. 17. 14:18



[Link] http://ilspy.net/

반응형
Posted by blueasa
, |
  • Mashimaro님
  • (2015-03-30 10:01)
    SONIC님// 
    http://en.miui.com/thread-70205-1-1.html 

    제가 참고한 사이트입니다. 

    샤오미 카메라가 공유기의 DHCP로 부터 배정 받은 IP 주소를 먼저 확인 하시고요. 
    해당 IP주소의 554 포트를 포워딩 하도록 공유시를 성정해 두시면 됩니다. 

    저는 공유기에 카메라 외에 다른 기기가 붙는 것이 없어서 그냥 DMZ 설정을 해버렸어요. 
    참고로 제가 집에 달아둔 영상의 주소를 잠시 공유해 드립니다. 

    rtsp://xxx.xxx.xxx.xxx:554/ch0_0.h264 
    안드로이드에서는 기본 동영상 플레이어가 RTSP 프로토콜을 지원하기에 웹프라으저에서 저 소를 클릭하면 자동으로 동영상 플레이어 재생이 시작되고요. 

    PC에서는 다음 팟플레이어 등의 열기 메뉴에서 '주소로 열기' 등을 선택하여 저 주소를 입력하면 화면이 보입니다. 
    (화면 좌상단에 시계가 끊임 없이 초단위로 바뀌지요. 프레임 드랍이 거의 없이 잘 보입니다) 

    이전에 샤오미 전용 앱으로 볼 때는 정말 이거 가격 만큼만 동작하는구나, 실사용은 불가할 정도로 화면이 끊겼던 것에 비하면 정말 달라도 너무 다릅니다.



    [출처] http://www.clien.net/cs2/bbs/board.php?bo_table=use&wr_id=740603

    반응형
    Posted by blueasa
    , |

    [파일]

    Clover_Setup_3.0.406.zip




    윈도우를 사용하면서 가장 불편한 것이 탐색기의 이용입니다. Microsoft도 많은 피드백을 받을텐데 여전히 고집스러운건 무슨 이유가 있는 걸까요?

    Clover 소개

    클로버(Clover)는 Chrome 브라우저와 유사한 멀티 탭 기능을 추가할 수 있는 Windows 탐색기의 확장 프로그램이다. 클로버를 설치한 후, 같은 창에서 여러 폴더를 열수 있게 되고 폴더에 북마크를 추가할 수 있게된다.

    지원사항

    • Windows XP
    • Windows 7
    • Windows 8
    • Windows 10

    Clover 설치

    클로버가 한 동안 업데이트가 없다가 다시금 업데이트가 활발히 이루어지고 있다. 설치시에 등장하는 팝업도 중문이라 알아볼 수 없을것 같아 적어둔다 : 2016-10-10

    Clover 업데이트

    최신의 클로버에는 업데이트 알림기능이 적용되어 업데이트가 있을시 설치에 필요한 사용자의 동의를 얻는다. : 2016-10-20

    업데이트 사항은 클로버 홈페이지 하단에 update 탭(영문으로 제공)에서 확인할 수 있다.

    이전에는 몰랐다가 최근 버전의 클로버를 설치후 업데이트 알림이 생긴것을 발견했다. 사용하고 있는 윈도우에게 게시자가 확인되지 않은... clxxxdsp.exe 를 실행하겠냐는 사용자계정 컨트롤러 팝업이 뜨길래 살펴보니 클로버의 업데이트 였다.

    Clover 사용법

    • Ctrl + T 를 눌러 새탭 생성 혹은 원하는 폴더에 마우스 휠 클릭
    • Ctrl + W 를 눌러 탭 종료 혹은 탭위에 마우스 휠 클릭
    • Ctrl + D 를 눌러 현재보고 있는 폴더의 경로를 복사
    • Ctrl + Tab 를 눌러 탭간 전환 혹은 탭위에 마우스 휠 굴리기

    추가된 신규 기능들

    • 탭 페이지 복사
    • Ctrl + B 로 북마크바를 보임/숨김(북마크바 쪽에 포커스가 주어져야 작동하는듯...)
    • Ctrl + N 로 새 클로버 탐색기 창을 생성
    • Ctrl + Shift + T 로 마지막 닫은 탭을 다시 복구
    • 마우스 우클릭시 나타나는 메뉴 개선
    • 드래그로 창들을 분할과 병합
    • 다양한 언어버전을 제공(한국어 없음)
    • 태그(tag)와 태그사이로 파일 및 폴더 드래그
    • 북마크들로 파일 및 폴더 드래그
    • 북마크들을 import 및 export 가능
    • 기타등등..

    북마크 추가

    북마크할 디렉토리를 북마크바로 드래그하거나 아래 그림과 같이 추가한다.

    탭 생성 및 고정

    브라우저들의 기능처럼 탭을 생성하고 원하는 폴더로 이동해 고정까지 할 수 있다. 고정해두면 탐색기 실행시 자동으로 열리게 만들 수 있으니 자주 여닫는 위치나 작업해야하는 폴더들을 고정해두고 작업능률을 높이도록 하자.

    새 탭은 아래처럼 추가한다.

    탭 생성

    탭 고정은 폴더 위치로 이동후 탭부분을 마우스 우클릭하면 아래처럼 메뉴가 등장한다.

    탭 고정

    Clover 아이콘 변경

    클로버 아이콘대신 탐색기와 클로버가 함께 있는 아이콘으로 변경한다.

     WINDOWS_EXPLORER_CLOVER.ICO

    바탕화면에 생성되어 있는 아이콘을 마우스 우클릭 > 속성

    Clover 에어로효과

    클로버에 보기좋게 에어로 효과를 적용하는 파일이다.

    관련 정보는 아래에서 확인하자.



    [출처] http://webdir.tistory.com/389

    반응형
    Posted by blueasa
    , |

    Answer by ZeroKcm 

    Autodesk has a free FBX Converter that you can use as well:

    http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=10775920




    [출처] http://answers.unity3d.com/questions/495732/is-there-a-way-to-convert-max-files-to-fbx.html

    반응형
    Posted by blueasa
    , |

    StreamingAssets 폴더는 Platform마다 다르다.

    게다가 더 기가막힌게, Application.streamingAssetsPath를 그대로 믿고 사용할 수 없다는 것이다.

    게다가 Unity 문서는 지나간 내용을 설명하고 있으며, 잘못된 내용을 설명하고 있다.

    http://docs.unity3d.com/kr/current/Manual/StreamingAssets.html

    이런~~~~


    정답은 아래와 같다.

    #if UNITY_EDITOR || UNITY_STANDALONE_WIN

    public static readonly string StreamingPath = "file://" + Application.streamingAssetsPath + "/";

    #elif UNITY_ANDROID

    public static readonly string StreamingPath = Application.streamingAssetsPath + "/";

    #elif UNITY_IOS

    public static readonly string StreamingPath = "file://" + Application.streamingAssetsPath + "/";

    #endif




    [출처] http://baramlife.tistory.com/7

    반응형
    Posted by blueasa
    , |


    [단축키] Alt + W, N



    [출처]

    http://www.gamecodi.com/board/zboard.php?id=GAMECODI_Talkdev&page=1&page_num=35&select_arrange=headnum&desc=asc&sn=off&ss=on&sc=on&keyword=&no=4361&category=


    반응형
    Posted by blueasa
    , |

    [크롬 확장프로그램 링크] 

    https://chrome.google.com/webstore/detail/gliffy-diagrams/bhmicilclplefnflapjmnngmkkkkpfad?hl=ko&utm_source=chrome-ntp-launcher




    몇개월전, 우분투를 사용하고 있었을 당시, 플로우 차트를 그려야할 일이 있었다. 리눅스계다 보니, 사용하기 편하면서 결과물이 예쁘게 나올 수 있는 프로그램을 찾기 어려웠다. 이리저리 찾아보던중, 나의사랑 크롬 웹스토어에서 검색해보았더니 Gliffy Diagrams라는 앱이 있길래 설치를 해 보았다. 오늘은 Gliffy Diagrams를 리뷰해 보겠다.

    Gliffy Diagrams 사용해보니 무료임에도 불구하고 고퀄리티의 플로우차트를 뽑을 수 있었다. 제공해주는 색상 스키마도 깔끔하고 자주 사용하는 색상 위주로 제공해 주기때문에 색상 선택으로 고민하는 시간을 줄여주는 느낌이다.

    뿐만아니라 다양한 다이어그램을 그릴 수 있다. UML이나 Entity-Relationship등 간단하고 예쁘게 그릴 수 있다. 공식홈페이지(http://www.gliffy.com)에 따르면, 다음과 같은 목적으로 사용 가능하다고 나와있다.

    Use Gliffy As

    Flow chart software

    Network diagram software

    Floor plan software

    Org chart software

    SWOT analysis

    Wireframe software

    Site map software

    UML software

    Business process modeling software

    Venn diagram software

    또한, Jira와 Confluence에서 사용할 수 있는 Plug-in도 제공을 하고 있다고 한다.


    시작을 하게 되면 다음과 같은 화면이 뜬다.

    <그림.1 시작>

    가이드 라인이 나와서 쉽게 정렬이 가능하다.

    <그림2. 플로우 차트 그리기>

    <그림3. 플로우 차트>

    <그림 4. 색상스키마 선택>

    그 외의 다이어그램을 그릴때도 유용하다.

    <그림 5. 다이어그램>

    구글 드라이브와 연동도 가능하다.

    <그림 6. 구글 드라이브와 연동>

    프로그램이 죽거나 실수로 끈 경우 백업파일을 불러와서 계속 편집이 가능하게 해 준다.

    <그림 7. 백업파일로부터 시작>


    정리해보면 Gliffy는 다음과 같은 기능을 제공한다.

    1. 가이드라인 보여주기, 그리드 보여주기, 그리드에 자동붙이기 기능등 기본적이면서 가장 필요한 기능을제공한다.

    2. 그룹단위로 묶어서 이동 및 축소/확대가 가능하다.

    3. 컬러테마를 제공하여 색상 스키마 변경을 원클릭으로 가능케 한다.

    4. 로컬에 .gliffy확장자로 저장 및 불러오기가 가능하다.

    5. PNG/JPG파일로 저장 가능하다.

    6. 구글 드라이브에 저장이 가능하다. (https://www.gliffy.com/go/gdrive/open?code=4/JlD5UUAPZNzHKlWHPPb1BsNDLH_dNiidcTWdsSBtqIA.UvhDJGSm_nwYgrKXntQAax0staSwlwI)

    7. 만약 실수로 저장하지 않고 프로그램을 종료한 경우에, 다음번 실행시 자동백업된 파일을 불러와서 계속 편집할것인지 물어본다.

     크롬 브라우저에서 지원하는 문서편집 툴들이 그러하듯, 내 컴퓨터에서 굳이 프로그램을 설치할 필요가 없다는 점이 장점이라고 본다. 또한 간단하면서 직관적인 UI를 제공하여 사용자로 하여금 친숙하게 접근할 수 있는 프로그램이다. 그동안 크롬 브라우저 웹스토어에서 사용한 프로그램들을 돌아보면, 주로 간단하면서 사용하기 직관적인 프로그램들이 오랫동안 살아남는것 같다. 



    [출처] http://blog.embian.com/70

    반응형
    Posted by blueasa
    , |

    파티클 이펙트를 런타임 중에 방향을 반전 시키는 간단한 스크립트.


    생성 될 때 방향을 반전시키기 위해서 ParticleSystem.startSpeed 를 반전 시키고,

    이미 생성 된 파티클은 ParticleSystem.Particle.velocity 를 반전 시켜 줌.



    using UnityEngine;
    using System.Collections;
    
    public class InvertParticleEffect : MonoBehaviour
    {
        ParticleSystem m_System;
        ParticleSystem.Particle[] m_Particles;
    
    
        void InitializeIfNeeded()
        {
            if (m_System == null)
                m_System = GetComponent();
    
            if (m_Particles == null || m_Particles.Length < m_System.maxParticles)
                m_Particles = new ParticleSystem.Particle[m_System.maxParticles];
        }
    
        public void Invert()
        {
            InitializeIfNeeded();
    
            // 생성될 때, 파티클 Speed 방향 반전
            var vel = m_System.startSpeed *= -1f;
    
            // GetParticles is allocation free because we reuse the m_Particles buffer between updates
            int numParticlesAlive = m_System.GetParticles(m_Particles);
    
            // Change only the particles that are alive
            for (int i = 0; i < numParticlesAlive; i++)
            {
                // 이미 생성된 파티클은 velocity 반전해서 반대로 가도록..
                m_Particles[i].velocity *= -1f;
            }
    
            // Apply the particle changes to the particle system
            m_System.SetParticles(m_Particles, numParticlesAlive);
        }
    
    }
    

    [참조] https://docs.unity3d.com/ScriptReference/ParticleSystem.GetParticles.html


    반응형
    Posted by blueasa
    , |
    Best Answer

    Answer by clunk47 

    Of course it's easy. I do it by creating a shortcut or batch file that starts the exe, instead of running the exe file. For example, a batch file. This is just an example, so say our EXE name is RUN.EXE. You would open Notepad, type the following:

    start RUN.EXE -popupwindow

    Then File> Save as> and in the filename where it says .txt originally, just remove that and use an asterick and a bat extension (*.bat) Hit ENTER, then it will know you want to save as a bat file. Now just type in a name like Launcher.bat, don't forget to remove the asterick but keep the .bat extension. Now you would run this Launcher file. The argument -popupwindow is what allows your Unity Standalone EXE to run without borders :D




    [출처] http://answers.unity3d.com/questions/13009/borderless-window-in-standalone-player.html

    반응형
    Posted by blueasa
    , |

    Welcome to the "Borderless Resizable Movable Standalone Window" Unity Asset.

    Summary:
    "Borderless Resizable Movable Standalone Window" is an Unity Plugin that gives you the ability to control the actual window position,size and borders of your standalone build via Scripting.
    In other words it lets you remove the borders of your game's window and gives you the API to minimize,close,maximize,resize ect. through your scripts.
    There are tons of creative ways to use it and implement it to your games/programs an example would be this template.
    The package comes with 2 Example Scenes , 1 Launch Scene and 4 scripts (C# and Js) to help you start and understand its use.
    Can be combined with Unity's current API to achieve great effects !
    NOTE : It has been tested on Windows Unity Pro and Indie, other platforms are unknown!
    So if you purchase for another platform do it at your own risk !!

    What you actually get:
    ~A "QuickAutoBorderless" boolean that forces Borderless mode on the build on initialization without restarting it
    ~A "FullyAutoBorderless" boolean that forces Borderless mode on the build on initialization after restarting it
    ~A "AllowSizeResettingBeforeExit" boolean that makes the window start as a small 116x90 window instead of full size
    ~New Scripting API.
    -Window.Minimize ();
    -Window.Fullscreen ();
    -Window.Fullscreen (Vector2);
    -Window.Fullscreen (int,int);
    -Window.Maximize ();
    -Window.Maximize (boolean);
    -Window.Exit ();
    -Window.ForceExit ();
    -Window.IsDoneLoading();
    -Window.IsBorderless ();
    -Window.Border ();
    -Window.Border (boolean);
    -Window.SetMinWidth (int);
    -Window.SetMaxWidth (int);
    -Window.SetMinHeight (int);
    -Window.SetMaxHeight (int);
    -Window.SetRect (Rect);
    -Window.SetRect (int,int,int,int);
    -Window.SetPosition (int,int);
    -Window.SetPosition (Vector2);
    -Window.SetSize (int,int);
    -Window.SetSize (Vector2);
    -Window.GetMinWidth ();
    -Window.GetMaxWidth ();
    -Window.GetMinHeight ();
    -Window.GetMaxHeight ();
    -Window.GetBorderRect ();
    -Window.GetBorderPosition ();
    -Window.GetBorderSize ();
    -Window.GetRect ();
    -Window.GetPosition ();
    -Window.GetSize ();
    -Window.GrabStart ();
    -Window.GrabEnd ();
    -Window.QuickDisableBorders();
    -Window.ResizeLeftStart ();
    -Window.ResizeLeftEnd ();
    -Window.ResizeDownLeftStart ();
    -Window.ResizeDownLeftEnd ();
    -Window.ResizeDownStart ();
    -Window.ResizeDownEnd ();
    -Window.ResizeDownRightStart ();
    -Window.ResizeDownRightEnd ();
    -Window.ResizeRightStart ();
    -Window.ResizeRightEnd ();
    -Window.ResizeRightTopStart ();
    -Window.ResizeRightTopEnd ();
    -Window.ResizeTopStart ();
    -Window.ResizeTopEnd ();
    -Window.ResizeTopLeftStart ();
    -Window.ResizeTopLeftEnd ();

    Unity useful API:
    -Screen.Width : int;
    -Screen.Height : int;
    -Screen.currentResolution : Vector2;
    and many more...

    Example Uses:
    Create game launchers like the ones of top branded games (example: League of Legends or Steam !!) with no or custom borders.
    Create games with awesome borders that make the difference in the user's desktop !!
    Simulate Window movement or teleport the window dynamically without having the user do anything !!
    Create popup/warning windows that can't be closed by the user and display information or other useful stuff.
    Create invisible windows by having their width or height be 0 or even below 0.
    Move your windows outside the screen or in places that the cursor usually cant go.
    TOP: Have fullscreen windowed mode at full resolution without waiting for Unity's standard fullscreen buffering !!!
    and many more, just use your imagination and creativity...

    How to install the plugin:
    The first thing you may want to do is use it , but you will have to make a few steps before beeing able to do so.
    1.Open Unity and go to Edit -> Project Settings -> Player -> Other Settings -> Api Compatibility Level and set it to ".NET 2.0"
    2.Drag the "Window" C# script located inside of Plugins folder and drop it on any form of gameobject inside your scene.
    (2.1 Warning: Do not deactivate the script. Drop it once , having multiple "Window" scripts inside one scene is not supported.)
    3.Do not change the location of the System.Windows.Forms file located inside the Plugins folder.
    4.If you don't already know, if you change the location of "Window" C# script you wont be able to call any of the API above from any UnityScript !
    5.For more accurate installation guide read the Installation_Guide.txt

    How to correctly use it:
    Note : This plugin is not meant to be used in the editor , most functions are protected (cant be used in the editor) to protect you from causing damage or annoying behavior. Also some of the read or "get" values will return wrong information in the editor.
    ---------------------------------------------------------------
    "FullyAutoBorderless"
    Once you have dropped the script into a gameobject then you will see a tickbox variable that says "Fully Auto Borderless"
    If you have this variable enabled and you build your standalone , it will always force the borderless mode even if you try later to set it to bordered by code it will turn back to borderless !
    This is good if you want the standalone to be borderless from the beginning to the end the only drawback is that it requires the client to restart once every time you decide to remove or add borders.
    We can counter this behaviour by having a launcher scene (that is already included as an example).
    ---------------------------------------------------------------
    "QuickAutoBorderless"
    Once you have dropped the script into a gameobject then you will see a tickbox variable that says "Quick Auto Borderless"
    This is a lightweight borderless mode that will not require a restart to activate with the drawnback that it can't be resized without making the borderss return while resizing..
    If your project requires little to no window resizing or you are ok with your client to make this behaviour then this option is for you.
    ---------------------------------------------------------------
    "AllowSizeResettingBeforeExit"
    Once you have dropped the script into a gameobject then you will see a tickbox variable that says "Allow Size Resetting Before Exit"
    This variable is create to make the window launch with a small size (116 x 90) and reduce problems while increasing performance.
    It also recommended to edit player setting and set this resolution to the window.
    (Read installation guide for more info)
    ---------------------------------------------------------------
    -Window.Minimize ();
    Minimizes the window as if you had clicked the minimize button.
    ---------------------------------------------------------------
    -Window.Fullscreen ();
    Sets the window into fullscreen mode , by preserving the current resolution.
    (Works just like standard Unity fullscreen function)
    ---------------------------------------------------------------
    -Window.Fullscreen (Vector2);
    Same as above but allows you to set the quality as a Vector2
    ---------------------------------------------------------------
    -Window.Fullscreen (int,int);
    Same as above but allows you to set the quality as two integers instead of one Vector2
    ---------------------------------------------------------------
    -Window.Maximize ();
    Will Maximize the window at full speed and have the same results as if you had clicked the maximize button,
    if you are running on borderless mode it will look like fullscreen mode but a lot faster :)
    ---------------------------------------------------------------
    -Window.Maximize (boolean);
    Same as above but if the boolean is set to false it will take into consideration the min/max width/height you have set and will result into a max size mode ;)
    ---------------------------------------------------------------
    -Window.Exit ();
    Similar to Unity's default quit function.
    ---------------------------------------------------------------
    -Window.ForceExit ();
    Will force window exit with a high priority and will cause the window to close very fast even if its not responding !! :)
    ---------------------------------------------------------------
    -Window.IsDoneLoading();
    Returns true if all calculatings of the window plugin are done at least once. Good for getting accurate info in the Start or Awake function.
    ---------------------------------------------------------------
    -Window.IsBorderless ();
    Returns true if the standalone is borderless and false if the window is bordered.
    ---------------------------------------------------------------
    -Window.Border ();
    Will make the window borderless if it has borders or will make the window bordered if its borderless.
    (Warning , it will force the window to restart and thus lose all processes so be careful to save before calling that)
    ---------------------------------------------------------------
    -Window.Border (boolean);
    Will set borderless mode if set to false,
    will set to bordered mode if set to true.
    (Same warning as above)
    ---------------------------------------------------------------
    -Window.SetMinWidth (int);
    Will set the minimum width allowed to the window
    (Some functions have the ability to ignore this)
    ---------------------------------------------------------------
    -Window.SetMaxWidth (int);
    Will set the maximum width allowed to the window
    (Some functions have the ability to ignore this)
    ---------------------------------------------------------------
    -Window.SetMinHeight (int);
    Will set the minimum height allowed to the window
    (Some functions have the ability to ignore this)
    ---------------------------------------------------------------
    -Window.SetMaxHeight (int);
    Will set the maximum height allowed to the window
    (Some functions have the ability to ignore this)
    ---------------------------------------------------------------
    -Window.GetMinWidth (int);
    Returns the minimum width you have set through Window.SetMinWidth as an int
    ---------------------------------------------------------------
    -Window.GetMaxWidth (int);
    Returns the maximum width you have set through Window.SetMaxWidth as an int
    ---------------------------------------------------------------
    -Window.GetMinHeight (int);
    Returns the minimum height you have set through Window.SetMinHeight as an int
    ---------------------------------------------------------------
    -Window.GetMaxHeight (int);
    Returns the maximum height you have set through Window.SetMaxHeight as an int
    ---------------------------------------------------------------
    -Window.SetRect (Rect);
    Sets the window's position and size at the same time to the given Rect
    ---------------------------------------------------------------
    -Window.SetRect (int,int,int,int);
    Same as above but instead of a rect it gets 4 separate ints
    ---------------------------------------------------------------
    -Window.SetPosition (int,int);
    Sets the position of the window only to the given int values and preserves the width and height
    (Height and Width will not work right in bordered mode)
    ---------------------------------------------------------------
    -Window.SetPosition (Vector2);
    Same as above but instead of two ints it takes one Vector2
    ---------------------------------------------------------------
    -Window.SetSize (int,int);
    Sets the window's Size to the given int values and preserves the location
    ---------------------------------------------------------------
    -Window.SetSize (Vector2);
    Same as above but instead of two ints it takes one Vector2
    ---------------------------------------------------------------
    -Window.GetBorderRect ();
    Returns the Border Position and Overall Size as a Rect
    ---------------------------------------------------------------
    -Window.GetBorderPosition ();
    Returns the Border Position as a Vector2
    ---------------------------------------------------------------
    -Window.GetBorderSize ();
    Returns the Border Width and Height as a Vector2
    (Might not work right)
    ---------------------------------------------------------------
    -Window.GetRect ();
    Returns the Window Position and Overall Size as a Rect
    ---------------------------------------------------------------
    -Window.GetPosition ();
    Returns the Window Position as a Vector2
    ---------------------------------------------------------------
    -Window.GetSize ();
    Returns the Window Size as a Vector2
    ---------------------------------------------------------------
    -Window.GrabStart ();
    Once called the Window will be "grabbed" by the cursor and will keep following it while preserving its offset until Window.GrabEnd is called
    (Always make sure you are able to call GrabEnd because once GrabStart is activated , you wont be able to click anywhere)
    (Grab and other Resize functions cant be active at the same time)
    ---------------------------------------------------------------
    -Window.GrabEnd ();
    Will give an end to the active GrabStart function
    ---------------------------------------------------------------
    -Window.QuickDisableBorders();
    This function will disable the borders of the window using the latest "Quick" method.
    You will probably not need to call it but so far it is only used in Unity5 after entering and exiting fullscreen mode to re-deactivate the borders if using QuickBorderless option.
    ---------------------------------------------------------------
    -Window.ResizeLeftStart ();
    Once called it will start changing the size of the window only from the left side according to the mouse position while preserving its offset.
    (Its important to call the Window.ResizeLeftEnd function or else you wont be able to call any other grab or resize functions or click anywhere)
    ---------------------------------------------------------------
    -Window.ResizeLeftEnd ();
    Will stop resizing the window if the above function was called.
    ---------------------------------------------------------------
    -Window.ResizeDownLeftStart ();
    Once called it will start changing the size of the window only from the left and down side according to the mouse position while preserving its offset.
    (Its important to call the Window.ResizeDownLeftEnd function or else you wont be able to call any other grab or resize functions or click anywhere)
    ---------------------------------------------------------------
    -Window.ResizeDownLeftEnd ();
    Will stop resizing the window if the above function was called.
    ---------------------------------------------------------------
    -Window.ResizeDownStart ();
    Once called it will start changing the size of the window only from the down side according to the mouse position while preserving its offset.
    (Its important to call the Window.ResizeDownEnd function or else you wont be able to call any other grab or resize functions or click anywhere)
    ---------------------------------------------------------------
    -Window.ResizeDownEnd ();
    Will stop resizing the window if the above function was called.
    ---------------------------------------------------------------
    -Window.ResizeDownRightStart ();
    Once called it will start changing the size of the window only from the down and right side according to the mouse position while preserving its offset.
    (Its important to call the Window.ResizeDownRightEnd function or else you wont be able to call any other grab or resize functions or click anywhere)
    ---------------------------------------------------------------
    -Window.ResizeDownRightEnd ();
    Will stop resizing the window if the above function was called.
    ---------------------------------------------------------------
    -Window.ResizeRightStart ();
    Once called it will start changing the size of the window only from the right side according to the mouse position while preserving its offset.
    (Its important to call the Window.ResizeRightEnd function or else you wont be able to call any other grab or resize functions or click anywhere)
    ---------------------------------------------------------------
    -Window.ResizeRightEnd ();
    Will stop resizing the window if the above function was called.
    ---------------------------------------------------------------
    -Window.ResizeRightTopStart ();
    Once called it will start changing the size of the window only from the right and top side according to the mouse position while preserving its offset.
    (Its important to call the Window.ResizeRightTopEnd function or else you wont be able to call any other grab or resize functions or click anywhere)
    ---------------------------------------------------------------
    -Window.ResizeRightTopEnd ();
    Will stop resizing the window if the above function was called.
    ---------------------------------------------------------------
    -Window.ResizeTopStart ();
    Once called it will start changing the size of the window only from the top side according to the mouse position while preserving its offset.
    (Its important to call the Window.ResizeTopEnd function or else you wont be able to call any other grab or resize functions or click anywhere)
    ---------------------------------------------------------------
    -Window.ResizeTopEnd ();
    Will stop resizing the window if the above function was called.
    ---------------------------------------------------------------
    -Window.ResizeTopLeftStart ();
    Once called it will start changing the size of the window only from the top and left side according to the mouse position while preserving its offset.
    (Its important to call the Window.ResizeTopLeftEnd function or else you wont be able to call any other grab or resize functions or click anywhere)
    ---------------------------------------------------------------
    -Window.ResizeTopLeftEnd ();
    Will stop resizing the window if the above function was called.
    --------------------------------------------------------------
    --------------------------------------------------------------
    UNITY 5+ NOTES :
    If using Unity 5.x the QuickBorderless Option will work way better , the only drawnback noticed is that after entering and exiting fullscreen mode, you will most likely need to call "QuickDisableBorders(); function after exiting fullscreen mode.
    Therefore the Launcher Scene is not needed..

    Conctact Info :
    Email : DarknessBlade.Original@gmail.com
    Youtube : https://www.youtube.com/DarknessBladeOrigin (We have TUTORIAL VIDEOS)

    ASSET STORE 
    VIDEO-1
    VIDEO-2




    [출처] https://forum.unity3d.com/threads/borderless-standalone-window-resizable-movable.298229/

    반응형
    Posted by blueasa
    , |