Skip to content

Instantly share code, notes, and snippets.

@TeraokaAkihiro
Created April 24, 2018 11:15
Show Gist options
  • Save TeraokaAkihiro/427c9a46db31dffda0b7d014fb9e619a to your computer and use it in GitHub Desktop.
Save TeraokaAkihiro/427c9a46db31dffda0b7d014fb9e619a to your computer and use it in GitHub Desktop.
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