Hello World!

Hello! This is the first post in my new blog. I plan to share my works and experiences along the way. Hope you enjoy!

Simple Header with Caption

header:
  image: /assets/images/unsplash-image-1.jpg
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"

C# Code Example

using UnityEngine;
using UnityEditor;

[ExecuteInEditMode]
public class GroupUnityObjects : Editor
{
    [MenuItem("Edit/Group %g", false)]
    public static void Group()
    {
        if (Selection.transforms.Length > 0)
        {
            GameObject group = new GameObject("Group");

            // Set Pivot
            Vector3 pivotPosition = Vector3.zero;
            foreach (Transform g in Selection.transforms)
            {
                pivotPosition += g.transform.position;
            }
            pivotPosition /= Selection.transforms.Length;
            group.transform.position = pivotPosition;

            // Undo action
            Undo.RegisterCreatedObjectUndo(group, "Group");
            foreach (GameObject s in Selection.gameObjects)
            {
                Undo.SetTransformParent(s.transform, group.transform, "Group");
            }

            Selection.activeGameObject = group;
        }
        else
        {
            Debug.LogWarning("No selection!");
        }
    }
}

Image Galary

placeholder image 1 placeholder image 2 placeholder image 3 placeholder image 4 placeholder image 5 placeholder image 6
This is a sample gallery with Markdown support.

Image Galary Wide

placeholder image 1 placeholder image 2
This is a third gallery example with two images and fills the entire content container.

Vimeo Video

Slow Life from BioQuest Studios on Vimeo.

Youtube Video

Instagram Embed

Twitter Embed

Buttons

Default Button Text Primary Button Text Success Button Text Warning Button Text Danger Button Text Info Button Text Inverse Button Light Outline Button

Notices

This is default notice!

This is primary notice!

This is a simple warning!

This is a success!

This is info!

This is danger!

Tags:

Categories:

Updated: