Skip to content

Instantly share code, notes, and snippets.

View randomize's full-sized avatar

Mihailenco Eugene randomize

View GitHub Profile
@randomize
randomize / GoodHorizontalLayout.cs
Last active October 23, 2017 21:16
Since 2017.2 LayoutGroup restores child properties in OnDisable, to prevent that and force old behavior use this override
//===----------------------------------------------------------------------===//
//
// vim: ft=cs tw=80
//
// Date: 10/23/2017 23:10:37
// Creator: Eugene Mihailenco <mihailencoe@gmail.com>
//
//===----------------------------------------------------------------------===//
using UnityEngine.UI;
@randomize
randomize / ply2obj.py
Last active March 27, 2024 15:33
Python script to convert *.ply to *.obj (3D formats)
'''
Simple script to convert ply to obj models
'''
from argparse import ArgumentParser
from plyfile import PlyData
def main():
parser = ArgumentParser()