Created
April 24, 2018 11:15
-
-
Save TeraokaAkihiro/427c9a46db31dffda0b7d014fb9e619a to your computer and use it in GitHub Desktop.
This file contains 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using VRTK.Highlighters; //usingは忘れがちなので忘れずに | |
public class SetOutline : MonoBehaviour { | |
VRTK_OutlineObjectCopyHighlighter vrtk_outline; | |
void Start () | |
{ | |
vrtk_outline = GetComponent<VRTK_OutlineObjectCopyHighlighter>(); | |
vrtk_outline.Initialise(); | |
Color color = Color.black; | |
vrtk_outline.Highlight(color); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment